const app = require('express')();

app.use((req,res,next) => {
    console.log('====>>>>',111);

    next()
}); 

app.use((req,res,next) => {
    console.log('====>>>>',222);

    next()
});

app.use((req,res) => {
    res.send('应用级中间件')
});

app.listen(8080,() => {
    console.log(' ----> ','running...');
})

